package org.example.myleet.p1034;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[[3,3],[3,2]]".equals(JsonUtils.toJson(solution.colorBorder(Parser.parse("[[1,1],[1,2]]"), 0, 0, 3))));
        Assert.isTrue("[[1,3,3],[2,3,3]]".equals(JsonUtils.toJson(solution.colorBorder(Parser.parse("[[1,2,2],[2,3,2]]"), 0, 1, 3))));
        Assert.isTrue("[[2,2,2],[2,1,2],[2,2,2]]".equals(JsonUtils.toJson(solution.colorBorder(Parser.parse("[[1,1,1],[1,1,1],[1,1,1]]"), 1, 1, 2))));
    }
}
